SetTimeBaseFlags
TheSetTimeBaseFlags
function allows your application to set the contents of the control flags of a time base.
pascal void SetTimeBaseFlags (TimeBase tb, long timeBaseFlags);
tb
- Specifies the time base for this operation. Your application obtains this time base identifier from the
NewTimeBase
function (described on page 2-297).timeBaseFlags
- Specifies the control flags for this time base. The following flags are defined. You may set only one flag to 1 (be sure to set unused flags to 0):
loopTimeBase
- Indicates whether the time base loops. If you set this
flag to 1 and the rate is positive, the time base loops back and restarts from its start time when it reaches its stop time. If you set this flag to 1 and the rate is negative, the time base loops to its stop time. If you set the flag to 0, the movie stops when it reaches the end.palindromeLoopTimeBase
- Indicates whether the time base loops in a palindrome fashion. Palindrome looping causes a time base to move alternately forward and backward. Set this flag to 1 to cause the time base to loop in this manner.
ERROR CODES
NoneSEE ALSO
You can retrieve the control flags of a time base by calling theGetTimeBaseFlags
function, which is described in the next section.